home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
17 Bit Software 6: Level 6
/
17 Bit - Level 6 (1998)(Epic Marketing)[!].iso
/
quartz
/
q1082.dms
/
q1082.adf
/
src.lzh
/
Fig
/
amiga.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-07-18
|
1KB
|
61 lines
extern int DEBUG;
#define noimpl(x)\
x()\
{\
fprintf(stderr,"Not implemented: %s %s %d \n",__FILE__,"unknown",__LINE__);\
_abort(-1);\
}
#define emptyimpldebug(x)\
x()\
{\
if (DEBUG)\
fprintf(stderr,"Not implemented: %s %s %d \n",__FILE__,"unknown",__LINE__);\
return -1;\
}
#define emptyimpl(x)\
x()\
{\
if (DEBUG)\
fprintf(stderr,"Not implemented: %s %s %d \n",__FILE__,"unknown",__LINE__);\
return -1;\
}
emptyimpldebug(panel_selected)
emptyimpldebug(init_grid)
extern struct Window *Window;
extern struct Window * canvas_pixwin,* figwin;
init_canvas()
{
canvas_pixwin=figwin;
}
emptyimpldebug(canvas_selected)
emptyimpl(canvas_sighandler)
emptyimpldebug(init_msg)
put_msg(a1,a2,a3,a4,a5,a6,a7,a8,a9)
{
static char line[100];
sprintf(line,a1,a2,a3,a4,a5,a6,a7,a8,a9);
SetWindowTitles(figwin,-1,line);
SetWindowTitles(Window,-1,line);
}
emptyimpldebug(clear_message)
emptyimpldebug(pw_batch_on)
emptyimpldebug(pw_batch_off)
emptyimpl(getwd)
emptyimpldebug(pr_put)
tool_create(name)
{
return openfigwin(name);
}
emptyimpldebug(init_topruler)
emptyimpldebug(init_sideruler)
emptyimpldebug(tool_install)
emptyimpldebug(tool_select)
emptyimpl(pw_writebackground)
emptyimpldebug(tool_destroy)
emptyimpldebug(init_panel)
emptyimpldebug(set_siderulermark)